package com.laf.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum DelFlagEnum {
    NORMAL("0", "正常"),
    DELETED("1", "已删除");

    @JsonValue
    @EnumValue
    private final String code;
    private final String message;

    DelFlagEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
